/* 选择整个滚动条 */
::-webkit-scrollbar {
    width: 8px; /* 设置滚动条的宽度 */
}

/* 选择滚动条滑块 */
::-webkit-scrollbar-thumb {
    background-color: darkgrey; /* 设置滑块的背景颜色 */
    border-radius: 6px; /* 设置滑块的圆角 */
    width: 5px;
}

/* 选择滚动条轨道 */
::-webkit-scrollbar-track {
    background: transparent;
}

.form-content {
    background: #ffffff;
    padding: 10px 10px 0 10px;
}

.table-content {
    background: #ffffff;
    padding: 0 10px;
}

.pagination-content {
    margin-top: 10px;
    padding-bottom: 10px;
    text-align: right;
}

.detail-form-content {
    background: #ffffff;
    padding: 10px;

    .el-input {
        min-width: 200px;
        max-width: 600px;
    }
}

.bg {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
}

.login-form {
    position: absolute;
    top: 0;
    right: 0;
    width: 350px;
    height: 100%;
    background: #ffffff;
    padding: 0 60px;
    font-size: 18px;
    font-weight: bold;
}

.h1 {
    margin-top: 80px;
    font-size: 20px;
    font-weight: bold;
}

.btn-login {
    margin-top: 50px;
    width: 100%;
}

.cursor-pointer {
    cursor: pointer;
}

.el-input,
.el-textarea {
    width: 100% !important;
    max-width: 500px;
}

.login-container,
.register-container {
    min-height: 100vh;
    position: relative;
    background: url('../../assets/img/login-bg.jpg') no-repeat center / cover;

    .login-title,
    .register-title {
        font-size: x-large;
        font-weight: bold;
        letter-spacing: 2px;
        margin-bottom: 10px;
    }

    &__content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 500px;
        padding: 40px 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        border: 1px solid #ccc;
        border-radius: 10px;
        background-color: rgba(255, 255, 255, 0.5);

        .el-form {
            width: 100%;
            max-height: 400px;
            overflow-y: scroll;
        }

        .button-box {
            display: flex;
            gap: 10px;
            align-items: flex-end;
            margin-top: 10px;
        }
    }
}
